/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package jogoDeDados;

/**
 *
 * @author Daniel Junior
 */
public class Dado {

    private int valor = 1;

    /**
     * @return the valor
     */
    public int getValor() {
        return valor;
    }

    public int sortear() {
        valor = (int) (Math.random() * 6 + 1);
        return valor;
    }
}
